package org.jeecg.modules.commodity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.commodity.entity.Relationship;
import org.jeecg.modules.commodity.model.RelationshipModel;

import java.util.List;

/**
 * @Auther: zhuzhuhong
 * @Date: 2019/11/14 10:02
 * @Description:
 */
public interface RelationShipMapper extends BaseMapper<Relationship> {

    List<RelationshipModel> selectRelationshipModelByTypeId(@Param("typeId") String typeId);

    int insertRelationShip(@Param("relationShipList") List<Relationship> relationshipList);

}
